#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>

struct score
{
	int chinese;
	int english;
	int math;
};

struct xr
{
	char name[9];
	char sex[3];
	int age;
	struct score s;
};

struct xr* csh_struct_xr(char[], struct xr*);
void Print_struct_xr(struct xr*);
void test1();
void test2();
void test3();
void test4();
int strlenf(char*);
int strlens(char*, size_t);